<template>
	<view class="container">
		<view class="editorBox">
			<view class="editor-item">
				<view class="left">
					<view class="name f30 c333">客户编码</view>
				</view>
				<view class="right">
					<input type="text" value="0001" />
				</view>
			</view>
			<view class="editor-item">
				<view class="left">
					<view class="name f30 c333">客户姓名</view>
				</view>
				<view class="right">
					<input type="text" value="请输入客户姓名" />
				</view>
			</view>
			<view class="editor-item" @tap="$open('./level')">
				<view class="left">
					<view class="name f30 c333">客户级别</view>
				</view>
				<view class="right">
					<view class="text f30 c666">选择</view>
						<image src="../../static/images/arrow_right.png" mode=""></image>
				</view>
			</view>
			<view class="editor-item">
				<view class="left">
					<view class="name f30 c333">经手人</view>
				</view>
				<view class="right">
					<input type="text" value="请输入经手人姓名" />
				</view>
			</view>
			<view class="editor-item" @tap="$open('./discount')">
				<view class="left">
					<view class="name f30 c333">整单优惠</view>
				</view>
				<view class="right">
					<view class="text f30 c333">无折扣</view>
					<image src="../../static/images/arrow_right.png" mode=""></image>
				</view>
			</view>
			<view class="editor-item">
				<view class="left">
					<view class="name f30 c333">备注</view>
				</view>
				<view class="right">
					<textarea placeholder-style="color:#666" placeholder="备注某某回成都也是头发可以让风格咖啡的时间 手机电话费康师傅刚好可以改" />
					</view>
			</view>
		</view>

	<view class="saveBtn">
		<view class="text f32 cfff">保存</view>
	</view>
	</view>
</template>

<script>
</script>

<style lang="scss">
	page {
		background-color: #F7F4F8;
	}
	.editorBox{
		margin: 20upx 0 300upx 0;
		.editor-item{
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			background-color: $white-background;
			padding: 35upx 30upx;
			border-bottom: 2upx #eeeeee solid;
			&:nth-child(5){
				margin: 20upx 0;
			}
			.right{
				display: flex;
				flex-direction: row;
				align-items: center;
				image{
					width: 20upx;
					height: 35upx;
					margin-left: 30upx;
				}
				input{
					font-size: 30upx;
					color: #666;
					text-align: right;
				}
				textarea{
					height: 120upx;
					font-size: 30upx;
					color: #666;
					line-height: 45upx;
				}
			}
		}
	}
	.saveBtn{
		width: 100%;
		position: fixed;
		bottom: 0;
		background-color: #249AF6;
		height: 100upx;
		line-height: 100upx;
		text-align: center;
	}
</style>
